inherited FPesquisaCheque: TFPesquisaCheque
  Left = 446
  Top = 215
  Caption = 'Pesquisa Cheque'
  ClientHeight = 305
  ClientWidth = 446
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel2: TPanel
    Width = 446
    inherited BtnSelecionar: TBitBtn
      OnClick = BtnSelecionarClick
    end
    inherited BtnFechar: TBitBtn
      Left = 364
    end
  end
  inherited Panel1: TPanel
    Width = 446
    Height = 264
    object Label3: TLabel [0]
      Left = 64
      Top = 8
      Width = 31
      Height = 13
      Caption = 'Banco'
    end
    object Label4: TLabel [1]
      Left = 120
      Top = 8
      Width = 39
      Height = 13
      Caption = 'Ag'#234'ncia'
    end
    object Label6: TLabel [2]
      Left = 8
      Top = 8
      Width = 12
      Height = 13
      Caption = 'N'#186
    end
    object Label10: TLabel [3]
      Left = 120
      Top = 48
      Width = 33
      Height = 13
      Caption = 'Origem'
    end
    object Label13: TLabel [4]
      Left = 206
      Top = 88
      Width = 40
      Height = 13
      Caption = 'Portador'
    end
    object Label14: TLabel [5]
      Left = 8
      Top = 88
      Width = 42
      Height = 13
      Caption = 'Situa'#231#227'o'
    end
    object Label16: TLabel [6]
      Left = 231
      Top = 48
      Width = 28
      Height = 13
      Caption = 'Pagto'
    end
    object Label5: TLabel [7]
      Left = 168
      Top = 48
      Width = 55
      Height = 13
      Caption = 'C'#243'd Origem'
    end
    object Label7: TLabel [8]
      Left = 280
      Top = 48
      Width = 50
      Height = 13
      Caption = 'C'#243'd Pagto'
    end
    object Label1: TLabel [9]
      Left = 176
      Top = 8
      Width = 41
      Height = 13
      Caption = 'Emitente'
    end
    object Label2: TLabel [10]
      Left = 8
      Top = 48
      Width = 64
      Height = 13
      Caption = 'Valor Cheque'
    end
    inherited DBGrid1: TDBGrid
      Top = 138
      Width = 444
      Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
      TabOrder = 11
      OnDblClick = DBGrid1DblClick
    end
    inherited Panel3: TPanel
      Top = 243
      Width = 444
      TabOrder = 12
    end
    object dblOrigem: TDBLookupComboBox
      Left = 120
      Top = 64
      Width = 40
      Height = 19
      Ctl3D = False
      DataField = 'CH_ORIGEM'
      KeyField = 'CHEQ_ORI_CODIGO'
      ListField = 'CHEQ_ORI_CODIGO'
      ListSource = dsOrigem
      ParentCtl3D = False
      TabOrder = 5
    end
    object dblPortador: TDBLookupComboBox
      Left = 206
      Top = 104
      Width = 232
      Height = 19
      Ctl3D = False
      DataField = 'CH_PORTADOR'
      KeyField = 'PORT_CODIGO'
      ListField = 'PORT_DESCRICAO'
      ListSource = dsPortador
      ParentCtl3D = False
      TabOrder = 10
    end
    object dblSituacao: TDBLookupComboBox
      Left = 8
      Top = 104
      Width = 191
      Height = 19
      Ctl3D = False
      DataField = 'CH_SITUACAO'
      KeyField = 'SIT_CODIGO'
      ListField = 'SIT_DESCRICAO'
      ListSource = DsChequeSituacao
      ParentCtl3D = False
      TabOrder = 9
    end
    object dblPagto: TDBLookupComboBox
      Left = 232
      Top = 64
      Width = 40
      Height = 19
      Ctl3D = False
      DataField = 'CH_PAGTO'
      KeyField = 'CHEQ_ORI_CODIGO'
      ListField = 'CHEQ_ORI_CODIGO'
      ListSource = dspagto
      ParentCtl3D = False
      TabOrder = 7
    end
    object edBanco: TEdit
      Left = 64
      Top = 24
      Width = 49
      Height = 19
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 1
    end
    object edAgencia: TEdit
      Left = 120
      Top = 24
      Width = 49
      Height = 19
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 2
    end
    object edNumeroCheque: TEdit
      Left = 8
      Top = 24
      Width = 49
      Height = 19
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 0
    end
    object edCodOrigem: TEdit
      Left = 168
      Top = 64
      Width = 49
      Height = 19
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 6
    end
    object edCodPagto: TEdit
      Left = 280
      Top = 64
      Width = 49
      Height = 19
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 8
    end
    object edEmitente: TEdit
      Left = 176
      Top = 24
      Width = 263
      Height = 19
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 3
    end
    object edValor: TRxCalcEdit
      Left = 8
      Top = 64
      Width = 105
      Height = 19
      AutoSize = False
      Ctl3D = False
      DisplayFormat = '#,##0.00'
      ButtonWidth = 0
      NumGlyphs = 2
      ParentCtl3D = False
      TabOrder = 4
    end
  end
  inherited QPesquisa: TQuery
    SQL.Strings = (
      'SELECT '
      '  CHEQUE.CH_CODIGO,'
      '  CHEQUE.CH_DTLANCTO,'
      '  CHEQUE.CH_BANCO,'
      '  CHEQUE.CH_AGENCIA,'
      '  CHEQUE.CH_CHEQUE,'
      '  CHEQUE.CH_VALOR,'
      '  CHEQUE.CH_VENCTO,'
      '  CHEQUE.CH_ORIGEM,'
      '  CHEQUE.CH_COD_ORIGEM,'
      '  CHEQUE.CH_DTMOVTO,'
      '  CHEQUE.CH_PORTADOR,'
      '  PORTADOR.PORT_DESCRICAO,'
      '  CHEQUE_SITUACAO.SIT_DESCRICAO,'
      '  CHEQUE.CH_PAGTO,'
      '  CHEQUE.CH_COD_PAGTO'
      'FROM'
      '  CHEQUE'
      
        '  INNER JOIN PORTADOR ON (CHEQUE.CH_PORTADOR = PORTADOR.PORT_COD' +
        'IGO)'
      
        '  INNER JOIN CHEQUE_SITUACAO ON (CHEQUE.CH_SITUACAO = CHEQUE_SIT' +
        'UACAO.SIT_CODIGO)')
    object QPesquisaCH_CODIGO: TIntegerField
      DisplayLabel = 'C'#243'digo'
      FieldName = 'CH_CODIGO'
    end
    object QPesquisaCH_DTLANCTO: TDateTimeField
      DisplayLabel = 'Lan'#231'amento'
      FieldName = 'CH_DTLANCTO'
    end
    object QPesquisaCH_BANCO: TStringField
      DisplayLabel = 'Banco'
      FieldName = 'CH_BANCO'
      Size = 4
    end
    object QPesquisaCH_AGENCIA: TStringField
      DisplayLabel = 'Ag'#234'ncia'
      FieldName = 'CH_AGENCIA'
      Size = 6
    end
    object QPesquisaCH_CHEQUE: TStringField
      DisplayLabel = 'N'#186' Cheque'
      FieldName = 'CH_CHEQUE'
      Size = 6
    end
    object QPesquisaCH_VALOR: TFloatField
      DisplayLabel = 'Valor'
      FieldName = 'CH_VALOR'
      DisplayFormat = '#,##0.00'
    end
    object QPesquisaCH_VENCTO: TDateTimeField
      DisplayLabel = 'Vencimento'
      FieldName = 'CH_VENCTO'
    end
    object QPesquisaCH_ORIGEM: TStringField
      DisplayLabel = 'Origem'
      FieldName = 'CH_ORIGEM'
      Size = 2
    end
    object QPesquisaCH_COD_ORIGEM: TIntegerField
      DisplayLabel = 'Cod. Origem'
      FieldName = 'CH_COD_ORIGEM'
    end
    object QPesquisaCH_PORTADOR: TIntegerField
      DisplayLabel = 'Portador'
      FieldName = 'CH_PORTADOR'
    end
    object QPesquisaPORT_DESCRICAO: TStringField
      DisplayLabel = 'Descri'#231#227'o'
      FieldName = 'PORT_DESCRICAO'
      Size = 100
    end
    object QPesquisaSIT_DESCRICAO: TStringField
      DisplayLabel = 'Situa'#231#227'o'
      FieldName = 'SIT_DESCRICAO'
      Size = 40
    end
    object QPesquisaCH_PAGTO: TStringField
      DisplayLabel = 'Pagto'
      FieldName = 'CH_PAGTO'
      Size = 2
    end
    object QPesquisaCH_COD_PAGTO: TIntegerField
      DisplayLabel = 'Cod. Pagto'
      FieldName = 'CH_COD_PAGTO'
    end
  end
  object dspagto: TDataSource
    DataSet = DMFinanceiro.QChequePagto
    Left = 344
    Top = 248
  end
  object dsPortador: TDataSource
    DataSet = DMFinanceiro.Qportador
    Left = 224
    Top = 248
  end
  object dsOrigem: TDataSource
    DataSet = DMFinanceiro.QChequeOrigem
    Left = 264
    Top = 248
  end
  object DsChequeSituacao: TDataSource
    DataSet = DMFinanceiro.QCheque_situcao
    Left = 184
    Top = 248
  end
end
